\documentclass{article}
\thispagestyle{empty}

\begin{document}

$$
  O =
\left[ \begin{array}{cccc}
    \frac{2}{right-left}    & 0 & 0 & - \frac{right+left}{right-left}\\
    0 & \frac{2}{top-bottom}    & 0 &  - \frac{top+bottom}{top-bottom}\\
    0 & 0 & \frac{-2}{far-near}     &  - \frac{far+near}{far-near}\\
    0 & 0 & 0 & 1
  \end{array} \right]
$$

\end{document}
